USE [hr_department]
GO

/****** Object:  Table [dbo].[Contract]    Script Date: 03/15/2012 16:04:49 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[Contract](
	[ContractId] [int] NOT NULL,
	[DeptId] [varchar](50) NOT NULL,
	[SSN] [int] NOT NULL,
	[StartDate] [datetime] NOT NULL,
	[EndDate] [datetime] NULL,
	[Position] [varchar](150) NULL,
	[Salary] [float] NULL,
	[Casing] [float] NULL,
	[Rate] [varchar](50) NULL,
	[Currency] [varchar](10) NULL,
	[ContractSignDate] [datetime] NULL,
	[ContractExpiryDate] [datetime] NULL,
 CONSTRAINT [PK_Contract] PRIMARY KEY CLUSTERED 
(
	[ContractId] ASC,
	[DeptId] ASC,
	[SSN] ASC,
	[StartDate] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO


